package pkmn.move.indirectAction;

import pkmn.Pokemon;
import pkmn.status.Status;
import pkmn.status.StatusEnum;

public class ApplyBurn extends IndirectAction{

    public void execute(Pokemon pokemon) {
        if (pokemon.getStatus().equals(StatusEnum.none)){
            pokemon.setStatus(new Status(StatusEnum.burn, -1));
            System.out.println(pokemon.getName() + " is burning!");
        }else
            System.out.println("But, it failed!");
    }
}
